aboutsummaryrefslogtreecommitdiff
path: root/pages/api/auth/[...nextauth].js
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-04-18 15:41:50 +0700
committerFactiven <[email protected]>2023-04-18 15:41:50 +0700
commita1f276c7e5ac8e10c3816849eb71628dd4f0f504 (patch)
tree03117e80719b936938b06bb0e52bea0b9426c443 /pages/api/auth/[...nextauth].js
parentUpdate videoPlayer.js (diff)
downloadmoopa-a1f276c7e5ac8e10c3816849eb71628dd4f0f504.tar.xz
moopa-a1f276c7e5ac8e10c3816849eb71628dd4f0f504.zip
8th fixes
Diffstat (limited to 'pages/api/auth/[...nextauth].js')
-rw-r--r--pages/api/auth/[...nextauth].js6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js
index b6eae53..713b5f7 100644
--- a/pages/api/auth/[...nextauth].js
+++ b/pages/api/auth/[...nextauth].js
@@ -1,12 +1,12 @@
import NextAuth from "next-auth";
import { GET_CURRENT_USER } from "../../../queries";
import { client } from "../../../lib/apolloClient";
-import clientPromise from "../../../lib/mongodb";
-import { MongoDBAdapter } from "@next-auth/mongodb-adapter";
+// import clientPromise from "../../../lib/mongodb";
+// import { MongoDBAdapter } from "@next-auth/mongodb-adapter";
export const authOptions = {
// Configure one or more authentication providers
- adapter: MongoDBAdapter(clientPromise),
+ // adapter: MongoDBAdapter(clientPromise),
secret: process.env.NEXTAUTH_SECRET,
providers: [
{